<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=">
<title>后台管理系统</title>
<link rel="stylesheet" href="__PUBLIC__/Admin/css/css.css">
<script src="__PUBLIC__/Admin/js/jquery-1.9.1.js"></script>
<script src="__PUBLIC__/Common/Layer/layer.js"></script>
</head>
<body>

<div class="nav">
	<div class="nav_title">
    	<h4><img class="nav_img" src="__PUBLIC__/Admin/img/tab.gif" /><span class="nav_a">客户管理</span></h4>
    </div>
</div>

<form action="{:U('User/user_list')}" method="get">
<div class="search" style="height:50px; line-height:50px; padding-left:30px; margin-top:3px;">
手机号：<input type="text" name="mobile" maxlength="16" class="input" style="height:28px;" />&nbsp;&nbsp;&nbsp;
<!-- 姓名：<input type="text" name="realname" maxlength="16" class="input" style="height:28px;" /> -->
&nbsp;&nbsp;&nbsp;
    <button type="submit" name="submit" class="button">查 询</button>
</div>
</form>

<div class="list">
	  <table width="100%" border="0" cellpadding="0" cellspacing="0" class="list_table">
      <thead>
	    <tr>
	      <td width="8%"><div align="center">用户ID</div></td>
	      <td width="15%"><div align="center">手机号</div></td>
	      <td width="12%"><div align="center">姓名</div></td>
	      <td width="15%"><div align="center">积分账户</div></td>
	      <td width="10%"><div align="center">用户等级</div></td>
		  <td width="10%"><div align="center">会员到期</div></td>
	      <td width="12%"><div align="center">创建时间</div></td>
	      <td width="18%"><div align="center">操作</div></td>
        </tr>
        </thead>
        <tbody>
        <foreach name="list" item="vo">
	    <tr id="del{$vo.id}">
	      <td height="50"><div align="center">{$vo.id}</div></td>
	      <td><div align="center">{$vo.mobile}</div></td>
	      <td><div align="center">{$vo.realname}</div></td>
		  <if condition="$vo.grade_name eq '合伙人'">
		  <td><div align="center"><font color='blue'>{$vo.add_jf_currency}</font></div></td>
		  <td><div align="center">{$vo.grade_name}</div></td>
		  <td><div align="center">永久</div></td>
		  <elseif condition="$vo.grade_name eq '会员'"/>
		  <td><div align="center">B:<font color='red'>{$vo.add_jf_currency}</font> A:<font color='blue'>{$vo.add_jf_limit}</font></div></td>
		  <td><div align="center">{$vo.grade_name}</div></td>
		  <td><div align="center">{$vo.vip_end|date="Y-m-d",###}</div></td>
		  <else/>
		  <td><div align="center">B:<font color='red'>{$vo.add_jf_currency}</font> A:<font color='blue'>{$vo.add_jf_limit}</font></div></td>
		  <td><div align="center">{$vo.grade_name}</div></td>
		  <td><div align="center"><del style='color:green'>非会员</del></div></td>
		  </if>
	      <td><div align="center">{$vo.create_time|date="Y-m-d H:i:s",###}</div></td>
	      <td><div align="center">
	      <a class="a_button" href="{:U('User/user_view',array('id'=>$vo['id']))}" >查看</a>
          </div></td>
        </tr>
        </foreach>
        </tbody>
  </table>
</div>

<!-- 分页 -->
<div class="page">
{$page}
</div>


</body>
</html>
